package com.ice.api.system.fallback;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;

import com.ice.api.system.feign.IUserService;
import com.iceframework.core.support.security.entity.PermissionInfo;

/**
 * 
 * @author Palo
 *
 */
@Service
public class UserServiceFallback implements IUserService {
	@Override
	public List<PermissionInfo> getPermissionByUsername(@PathVariable("username") String username) {
		System.out.println("调用{}异常{}" + "getPermissionByUsername" + username);
		return null;
	}

	@Override
	public List<PermissionInfo> getAllPermissionInfo() {
		System.out.println("调用{}异常" + "getPermissionByUsername");
		return null;
	}

	@Override
	public List<String> getPermissionResourceByUsername(String username) {
		System.out.println("调用{}异常" + "getPermissionResourceByUsername");
		return null;
	}
}
